package easy

// 283. 移动零
// 0,1,0,3,12

func moveZeroes(nums []int) {
	quick, slow := 0, 0
	for quick < len(nums) {
		if nums[quick] != 0 {
			nums[slow], nums[quick] = nums[quick], nums[slow]
			slow++
		}
		quick++
	}
}
